import React from "react";
import {Provider} from "react-redux";
import {StaticRouter} from "react-router-dom/server";
import RouterList from "./router";
import store from "./store";

const ServerApp = ({url}) => {
  return (
      <Provider store={store}>
          <StaticRouter location={url}>
              <RouterList/>
          </StaticRouter>
      </Provider>
  )
}
export default ServerApp
